package com.aura.bookshop.service.impl;

import com.aura.bookshop.entity.Teacher;
import com.aura.bookshop.mapper.TeacherMapper;
import com.aura.bookshop.service.TeacherService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.log4j.Log4j2;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jinbanglong
 * @since 2020-09-09
 */
@Log4j2
@Service
public class TeacherServiceImpl extends ServiceImpl<TeacherMapper, Teacher> implements TeacherService {
    Logger logger = LoggerFactory.getLogger(TeacherMapper.class);

    @Override
    public IPage<Teacher> selectMyPage(IPage<Teacher> page, Wrapper<Teacher> queryWrapper){
       return super.baseMapper.selectMyPage(page, queryWrapper);
    }
}
